package org.apache.servicecomb.fence.service;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SeataContextConfiguration {
  @Bean
  public SeataContextConsumerFilter seataContextConsumerFilter() {
    return new SeataContextConsumerFilter();
  }

  @Bean
  public SeataContextProviderFilter seataContextProviderFilter() {
    return new SeataContextProviderFilter();
  }
}
